import request from '@/utils/request';

export const uploadApi = (file: unknown) => request.get(`/oss/save?file=${file}`);

export const getUrlApi = (fileKey, userId) => request.get(`/oss/image?fileKey=${fileKey}&userId=${userId}`);
